<?php
class ControllerSidebar
{
	protected $keys = array();
	protected $template;
	
	public function __construct()
	{
		$this->menu();
	}
	
	private function menu()
	{
		$this->keys['number'] = BOARDROOM_NUMBER;
		$this->template = View::create('templates/sidebar/menu.html',$this->keys);
		View::assign('sidebar',$this->template);	
		unset($this->template);
		unset($this->keys);
	}
	
	public function __call($methodName,$arguments)
	{
		throw new Exception ('Private function - '.$methodName);
	}
}